package org.csy.generic.test00.demo06.teacherWork;

import java.util.Arrays;

/**
 * @author CSY
 * @date 2025 - 03 - 27
 */
public class MainTest01 {
    public static void main(String[] args) {
        String[] arr = {"AA", "BB", "CC"};

        String[] newArr = new String[arr.length * 2];
        System.arraycopy(arr,0,newArr,0,arr.length);
        System.out.println(Arrays.toString(newArr));


    }
}
